require(['jquery', 'cookie', 'app', 'lay'], function ($) {
    require(['vue'], function (Vue) {
        layui.use('form', function(){
            var form = layui.form;

            //监听提交
            form.on('submit(formDemo)', function(data){
                var re=playAjax("UserController/registYWY",data.field);
                alr(re.msg);
                return false;
            });
        });
        var dic = new Vue({
            el: ".vue-box"
            , data: {
                where: [],
                that: {

                }
            }
            , created: function () {

            }
            , methods: {
                referXadmin: function () {
                    window.location.reload();
                }
            }
        });
    })
});
